home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Mail / pine3.92 / contrib / carmel / pine / mailview.c.patch < prev    next >
Text File  |  1994-08-31  |  1KB  |  40 lines

  1. *** mailview.c    Wed Aug 17 17:19:56 1994
  2. --- mailview.c.new    Wed Aug 31 19:04:19 1994
  3. ***************
  4. *** 132,139 ****
  5. --- 132,147 ----
  6.   void       redraw_scroll_text();
  7.   #endif
  8.   
  9. + #ifdef BWC
  10. + #ifdef ANSI
  11. + void     gf_glyph2richtext(FILTER_S *, int, int);
  12. + #else
  13. + void     gf_glyph2richtext();
  14. + #endif
  15. + #endif
  16.   
  17.   
  18.   /*----------------------------------------------------------------------
  19.        Format a buffer with the text of the current message for browser
  20.   
  21. ***************
  22. *** 892,897 ****
  23. --- 900,914 ----
  24.       filter_t           aux_filter[4];
  25.       int               filtcnt = 0, error_found = 0;
  26.       char          *err;
  27. + #ifdef BWC
  28. +     if(att->body->subtype != NULL &&
  29. +        strucmp(att->body->subtype, "X-bwc-glyph") == 0) {
  30. +         aux_filter[filtcnt++] = gf_glyph2richtext;
  31. +         gf_enriched2plain_opt(0);    /* don't strip everything! */
  32. +     aux_filter[filtcnt++] = gf_enriched2plain;
  33. +     }
  34. + #endif    
  35.   
  36.       if(att->body->subtype){
  37.       if(!strucmp(att->body->subtype, "richtext")) {
  38.